<div class="flex flex-col">
  <%= render Avo::PanelComponent.new do |c| %>
    <% c.with_body do %>
      <% if form.present? %>
        <%= field_container do %>
        <%= @resource.get_stimulus_controllers %>
          <%= avo_edit_field :team, form: form, as: :belongs_to, resource: @resource.hydrate(record: @record), html: {
            edit: {
              input: {
                data: {
                  foo: :barr
                }
              }
            }
          } %>
        <% end %>
      <% end %>
    <% end %>
  <% end %>
</div>
